package com.googlecode.grima.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="PORTAL_GROUP")
public class Group extends com.googlecode.grima.base.Entity {
 
  	private static final long serialVersionUID = -2911003494778492247L;

  	public static final String GROUP_ADMINISTRATORS = "ROLE_ADMINISTRATOR";
  	public static final String GROUP_USERS = "ROLE_USER";
  	
  	private String name;
  	private String description;
		private String type;

  	public Group(){
  	}
  	
  	public Group(String name){
  		this.name = name;
  	}
 
		@Column(name="NAME")
		public String getName() {
    	return name;
    }

		public void setName(String name) {
    	this.name = name;
    }

		@Column(name="TYPE")
		public String getType() {
	    return type;
    }

		public void setType(String type) {
    	this.type = type;
    }

		@Column(name="DESCRIPTION")
		public String getDescription() {
    	return description;
    }

		public void setDescription(String description) {
    	this.description = description;
    }

}